package com.mysteel.product.feign;

import com.mysteel.common.to.es.SkuEsModel;
import com.mysteel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * ProjectName: mail
 * ClassName: SearchFeignService
 * Description:
 * date: 2021/01/23/023 10:57
 *
 * @author xiaochao
 */
@FeignClient("search")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
